package cn.znzz.cjm.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenjiangmin
 * @since 2021-12-22
 */
@TableName("t_course_dictionary")
public class CourseDictionary extends Model<CourseDictionary> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String type;
    private String value;
    private Integer grade;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CourseDictionary{" +
        ", id=" + id +
        ", type=" + type +
        ", value=" + value +
        ", grade=" + grade +
        "}";
    }
}
